package com.woniuxy.service.impl;

import com.woniuxy.dao.CategoryDao;
import com.woniuxy.pojo.Category;
import com.woniuxy.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {
    @Autowired
    private CategoryDao categoryDao;

    @Override
    public Category findOne(int id) {
        return categoryDao.findOne(id);
    }
}
